package com.book_management.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author xiangqian
 * @date 2022/12/2 16:55
 * @description:
 */

@TableName("sys_role")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("角色表")
public class SysRole implements Serializable {

    @ApiModelProperty("角色Id")
    private Integer id;

    @ApiModelProperty("角色名称")
    private String name;

    @ApiModelProperty("角色备注")
    private String comment;
}
